<?php /* Smarty version Smarty-3.1.11, created on 2013-03-13 15:21:43
         compiled from ".\smarty\templates\room_details.tpl" */ ?>
<?php /*%%SmartyHeaderCode:3022151408b77c7e987-50551866%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '6dfe46ddb67d3ced926125d50c72cc9e4d0b07dc' => 
    array (
      0 => '.\\smarty\\templates\\room_details.tpl',
      1 => 1363177882,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '3022151408b77c7e987-50551866',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'hotel' => 0,
    'room' => 0,
    'server' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_51408b788a2dd2_20692999',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_51408b788a2dd2_20692999')) {function content_51408b788a2dd2_20692999($_smarty_tpl) {?>
    <?php  $_smarty_tpl->tpl_vars['room'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['room']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['hotel']->value['room']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['room']->iteration=0;
foreach ($_from as $_smarty_tpl->tpl_vars['room']->key => $_smarty_tpl->tpl_vars['room']->value){
$_smarty_tpl->tpl_vars['room']->_loop = true;
 $_smarty_tpl->tpl_vars['room']->iteration++;
?>
		<?php if ($_smarty_tpl->tpl_vars['room']->value['noData']!=true){?>
       <div style="padding:5px;" id="room<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
_<?php echo $_smarty_tpl->tpl_vars['room']->iteration;?>
">
            <div style="border: 1px solid #000000; padding: 5px;">
                    <div>
                        <form method="post" action="bookingPage.php">
                        <span style="font-weight:bold; font-size: 20px;"> <?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeString'];?>
</span>
                        <span style="padding:10px;">
                            <strong style="color:#000;">
                                
                                <?php echo sprintf("%.2f",$_smarty_tpl->tpl_vars['room']->value['rateInfo']['averageRate']);?>

                                <?php echo $_smarty_tpl->tpl_vars['room']->value['rateInfo']['currencyCode'];?>

                            </strong>
                        </span>
                        <span   style="padding:10px;">
                            <?php if ($_smarty_tpl->tpl_vars['room']->value['nonRefundable']==1){?>
                                <label style="color:red;"><strong> NON-REFUNDABLE</strong></label>
                            <?php }else{ ?>
                                <label style="color:blue;"><strong> REFUNDABLE</strong></label>
                            <?php }?>
                        </span>
                        <span id="book_span">                   
                            <h3 class="right" style="padding-right:20px;">
                                
                                    
                                    <input name="currentPage"           type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['server']->value;?>
">
                                    
                                    <input id="checkin<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
" name="checkin"               type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['hotel']->value['checkin'];?>
"/>
                                    <input id="checkout<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
" name="checkout"               type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['hotel']->value['checkout'];?>
"/>

                                    <input id="hotelId<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
" name="hotelId"               type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
"/>
                                    <input id="supplierType<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
" name="supplierType"          type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['hotel']->value['supplierType'];?>
"/>
                                    <input id="roomRateKey<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
" name="roomRateKey"           type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['hotel']->value['rateKey'];?>
"/>
                                    <input id="roomRateCode<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
" name="roomRateCode"          type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['room']->value['rateCode'];?>
"/>
                                    <input id="roomCode<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
" name="roomCode"              type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
"/>
                                    <input id="hotelImage<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
" name="hotelImage"            type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['hotel']->value['thumbnailUrl'];?>
"/>
                                    <input id="hotelName<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
" name="hotelName"             type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['hotel']->value['hotelName'];?>
"/>
                                    <input id="roomDescription<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
" name="roomDescription"       type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeString'];?>
"/>
                                    <input id="averageRate<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
" name="averageRate"           type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['room']->value['rateInfo']['averageRate'];?>
"/>
                                    <input id="total<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
" name="total"                 type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['room']->value['rateInfo']['total'];?>
"/>
                                    <input id="roomtotal<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
" name="roomtotal"             type="hidden" value=""/>
                                    <input id="nightlyRateTotal<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
" name="nightlyRateTotal"      type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['room']->value['rateInfo']['nightlyRatesTotal'];?>
"/>
                                    <input id="surchargeTotal<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
" name="surchargeTotal"        type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['room']->value['rateInfo']['surchargeTotal'];?>
"/>
                                    <input id="currencyCode<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
" name="currencyCode"          type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['room']->value['rateInfo']['currencyCode'];?>
"/>
                                    <input id="minGuestAge<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
" name="minGuestAge"          type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['room']->value['minGuestAge'];?>
"/>
                                    <input id="currentAllotment<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
" name="currentAllotment"          type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['room']->value['currentAllotment'];?>
"/>
                                    <input id="averageRate<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
" name="averageRate"          type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['room']->value['rateInfo']['averageRate'];?>
"/>
                                    
                                    
                                    <input value="Book now" id="search_button" type="submit" onclick=""></input>
                                
                            </h3>
                        </span>
                        <div> <?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeDescription'];?>
 </div>
                        <div style="background-image: url(../images/templatemo_middle.jpg); color:#fff;padding:5px;">
                            <div id="hotel_cancelation_policy<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
" class="hotel_options">
                                <label class="link" onclick="showCancelationPolicy('cancelationPolicy<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
_<?php echo $_smarty_tpl->tpl_vars['room']->iteration;?>
');grabData('CANCEL','<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
_<?php echo $_smarty_tpl->tpl_vars['room']->iteration;?>
',<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
);" >
                                    Cancellation policy
                                </label>
                            </div>
                            <div id="cancelationPolicy<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['roomTypeCode'];?>
<?php echo $_smarty_tpl->tpl_vars['room']->value['nonRefundable'];?>
_<?php echo $_smarty_tpl->tpl_vars['room']->iteration;?>
" style="display:none;">
                                
                            </div>
                        </div>
                            </form>
                    </div><br />
            </div>
        </div>
		<?php }else{ ?>
		<span> There are no rooms available for booking for the selected dates this hotel. </span>
		<?php }?>
    <?php } ?>
    <div><br />
        <p> <b>* The room rates listed are for double occupancy per room unless otherwise stated and exclude tax recovery charges and service fees.</b></p>
    </div><?php }} ?>